package light.head.dao.inv;

import java.util.List;

import org.springframework.stereotype.Service;

import light.head.framework.base.BaseDAO;
import light.head.model.inv.InvOutStorageItem;
@Service
public class InvOutStorageItemDAO extends BaseDAO<InvOutStorageItem, Integer>{
	private final static String sql_findIosc = "FROM InvOutStorageItem item WHERE item.deleted = 0 AND item.iosc = ?";
	/**
	 * 通过出库编号查询入库详情
	 * @param iisc		出库编号
	 */
	public List<InvOutStorageItem> findIosc(Integer iosc) {
		if (null == iosc) return null;
		return find(sql_findIosc, null, null, iosc);
	}
}
